package com.totoro.springboot.druid.config;

import com.alibaba.druid.support.http.StatViewServlet;

import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;

/**
 * 配置监控页面
 * Created by Niki on 2018/2/6 19:33
 */
//@SuppressWarnings("serial")
//@WebServlet(urlPatterns = "/druid/*",
//    initParams ={
//            @WebInitParam(name="allow",value="127.0.0.1"),
//            @WebInitParam(name="loginUsername",value="admin"),
//            @WebInitParam(name="loginPassword",value="admin"),
//            @WebInitParam(name="resetEnable",value="false")//是否允许清空统计数据
//    }
//)
public class DruidStatViewServlet extends StatViewServlet {
}
